Add implementations of MakeCacheMatrix and cacheSolve