Simple russian-roulette impelentation in C