R Programming Assigment 2 - cachematrix.R