implemented functions: makeCacheMatrix() and cacheSolve()