First version of ruby implementation added

Ok, I added ruby implementation to here.