suffix_array.py