implemented the functions makeCacheMatrix and cacheSolve