Added the full implementations for functions makeCacheMatrix and cacheSolve