Problem
1. Implement compression and expansion procedures for the run-length encoding method for a fixed alphabet described in the text, using Q as the escape character.
2. Could "QQ" occur somewhere in a file compressed by the method described in the text? Could "QQQ" occur?
3. Implement compression and expansion procedures for the binary file encoding method described in the text.