The art of computer programming - Knuth Donald E. (Addison-wesley publishing company, London, 1981)