Documented cacheSolve, ready for submission