Add commandline tool for generating tournament codes.