added cacheSolve and makeCacheMatrix methods