This is assignment 2 - cachematrix.R