Fixed typo in makeCacheMatrix, as well as complete cacheSolve