Completed Solution.rb Hw #10