a "textbook" bwt based compressor I wrote for an algorithms course