completed assignment in cachematrix.R, first row of tests for debug passed