Problema Libro Aho, Hopcroft y Ullman: Example 2.2