Completed and tested makeCacheMatrix