challenges - project euler nr 7
c application for signal capture