Finished problem 1.7 about setting rows and columns to zero