Fix bug in LZ78_Compression