Add solution to square_arrays_solution.rb