added some codeforces dude's suffix array. still need to test