The art of computer programming - Knuth, Donald E.