...if anyone has ever wondered how programs to compress data work, here is a technical explanation. Reposted from dituttounpo