Basic Implementation of LZ78 Compression Alghorithm