added the solutions in Ruby