As per the note on the web site and correction in the assignment, the original sample executable doesn't match the problem description. Thus students were given the choice of implementing what the original sample exe did (v1) or what the question actually asked for (v2).