moved suffix tree algorithms in the right place