add square_arrays_solution.rb and square_arrays_solution_spec.rb. All tests pass.