Program arguments parser, for C