compress method works now. Starting work on decompress method