refactored makesuffixTree
fixed test case ABAAB
- got ABAABABA working except for last $