1st commit assignment 2 cachematrix