Added compress code. Not integrated yet.

Just added.