Updated compress.cpp. Added