Add version 1.0 for python implementation of TournamentCode