A vote program in C