Create cacheMatrix.R

cacheMatrix.R for assignment 2