Working through "Steven S. Skiena  The Algorithm Design Manual  Second Edition"