Assignment #14, solution_14.rb, working with defining methods