Working code for two functions makeCacheMatrix and cacheSolve