implemented makeCacheMatrix and cacheSolve functions
additional comments