Naive Burrows-Wheeler transform