timed different implementations of suffix array construction.
rewrote/restructure old functions for future convenience.
added function for suffix array to suffix tree conversion.