There are 8 teams in a local football tournament.
Each team plays every other team exactly once.
Work out the total number of matches that are played in the tournament.