1. A program for encoding and decoding LZW compression.
2. A program for encoding and decoding arithmetic compression.
3. A program that reads a two-dimensional matrix of size N × N and writes the values using zigzag ordering described in the chapter.
4. A program that finds the DCT transform of a one-dimensional matrix. Use matrix multiplication.
5. A program that finds the DCT transform of a two-dimensional matrix. Use matrix multiplication.