Basic Swiss Tournament C++ implementation