some implementations of the algorithms in the book ProgrammingPearls