functions makeCacheMatrix() and cacheSolve() done writing and working