Working on tournament program