Fundamental algorithms - Knuth, Donald E.