Code example that translates a binary file containing 24-bit values into a text file with two sorted lists