cacheSolve function commented in more detail