Implemented makeCacheMatrix function and cacheSolve function