Updated with implementations of makeCacheMatrix and cacheSolve