makeCacheMatrix and cacheSolve functions were written and commented