Expanded all characters to unsigned characters, compress function is seg faulting but further along