Lisp code that reads values and inserts them into a ternary tree