Fundamental algorithms - Knuth,Donald Ervin (Addison-Wesley ; Narosa Publisher, 1973)