Work in progress suffix tree implementation in Python