updated Compress and Decomress, passed Test for it