First part of the assignment

the function makeCacheMatrix with comments on its workings