GOTO: goto function implementation

* Implementation of the goto function.
  The result of such implementation is the
  Aho-Corasick graph.
* The implementation builds a partially
  output function as well.