suffix array added.
how to find the k-th smallest element in an array
zalgo implementation added.