added SuffixAutomata data structure