Knuth, Donald E.. The art of computer programming. 2nd Vol. 3. Boston, MA, USA: Addison-Wesley Longman Publishing Co., 1998.