Update team.c

Final draft of team.c