I have compelted MDC project for codelength 4. Earlier it was linear program ,now i modified it with seprate functions for master array, compression and decompression . In this program i read data first from a text file and made master array, then compress that file an write compressed data in new file called compressfile.txt. For decompress i again read compressed file and start decompress it an dstore it in a decompressed file.txt.
Now working on file which has 2 codelength. Made master for codelength 2.