started working on problem one in ruby
completed problem one for ruby