The classic hagman game in C.