implementation of Tournament
Merge remote-tracking branch 'origin/master'