Commit cachematrix.R for Assignment2