Added code and test code for LZ78_Compression()