implemented makeCacheMatrix() & cacheSolve()