hw7 compression