Added solutions for step2.rb exercise