Added solution_23.rb ( #24 ), modified solution_25.rb ( #23 ).