cacheSolve and makeCacheMatrix functions implemented