The art of computer programming - Knuth, Donald E (Addison-Wesley Publishing Company, 1971)