a rugby tournament with 10 teams is organised. Each team plays each other exactly once. work out the total number of games