added ruby implementation
Merge pull request #1 from tnorris/ruby

I added a ruby implementation.