cacheSolve & makeCacheMatrix implementation