Program which calculates suffix array

Program which calculates suffix array