C++/qt Application to manage tournament pairings