add code to make teenager.rb pass tests