pub fn bwt_encode(rle1_data: &[u8]) -> (u32, Vec<u8>)
Encode data using the Burrows-Wheeler-Transform. Requires a u8 slice of data to be sorted. This returns a u32 key and a u8 vec of the BWT data.