adding the implementation  of makeCacheMatrix and cacheSolve