Assignment in C to track entries at a horse race