Example of breadth and best first search in lisp.