Sound that can be a nice homework using or implementing visual lisp object reactors... here @ theswamp, there are many samples about them posted.
but, you might get lucky and other member will provide with 'lisp a la carte' - that is a possibility....