Create cacheMatrix.R

The cacheMatrix file for assg 2.