The Design and Analysis of Computer Algorithms - AHO (Alfred. V) HOPCROFT (John. E) ULLMAN (NEW YORK : Massachusclts Addition Wisley)