Add tornament generation algorithm