added LZ compression to Encoding class
remove compiler warning for encoding.cpp