compresion.cpp implemented