Initial checking of passing version in Ruby
initial checkin of ruby version - passes CodeEval