BUG found in suffix tree!

I'm very sorry! 
But there is a serious bug in my previous suffix tree implementation! 
For example, the previous program will produce an totally incorrect suffix tree given the input "mississippi".

The bug is fixed in this pull request. I'm very sorry for the inconvenience caused!