Assignment #25, solution_25.rb