Programming Assignment 2 - cachematrix.R file modified