C99 implementation of compression algorithms
