The design of algorithms in PASCAL - Amstel, J. J. Van (Addison-Wesley, 1984)