Five friends are having a tennis tournament.Each friend will play the other four friends once.How many matches will be played?