Implemented makeCacheMatrix and cacheSolve