Solved largest_sub_matrix.