allied.c : everything works except for coin input.