http://www.coldfusionjedi.com/index.cfm/2011/9/23/Friday-Puzzler-Family-Tree-Simulation#more