Added pattern search function.
Problem found in the way we were hashing the edges.
Working for most of the cases, one bug remaining, while printing the siffix tree.
Merge branch 'master' of https://github.com/atuljangra/suffixtree