I am committing cachematrix.R for programming assignment 2