Added solution_9.rb and solution_10.rb for #9 and #10