add updated max_solution, remove_nils, and square_arrays files