I took Dan's pseudo code and turned it into python code. Let me know what I did wrong and what should be changed. Sometime tomorrow I'll also write up the goals and post it on the same site. Here's where you can download the tar file: http://rtt.colorado.edu/~drewpc/ -- PC Drew