Tournament module

I have implemented a first version of the tournament module. Any comments on the code so far?
give better variables names than one letters that are not iterators, pef "tournamet"