- Significant refactoring in compress.cpp.
- Added error checking and error messages for input and output
  files for compress.