Assignment 2 cachematrix file 21-04-2014