Updated exercise.rb