Create Suffix Array, O(n(log^2n)).cpp