The function cacheSolve was coded with comments
An example was added