commit exercise2.rb