cachematrix file with code for assignment 2