Implement Defining-local-functions-in-lisp's examples