lz77 with junit tests