Finished cacheSolve and added documentation