My solution to the Aspera coding challenge, in C