Knuth, Donald Ervin. The art of computer programming : 1. Fundamental algorithms. Addison-Wesley, Upper Saddle River, NJ [u.a.], Year 1997.