exercise done when learning lisp