Thanks!
I will try to make the explanations clearer, I'm still trying to improve my writing and this is very much appreciated, oh, and the code is Ruby.
I forgot to add the source code for the article, I just pushed it to a git repo and added a link to it at the article's footer.
Thanks again!