Finished lockTeams function, added setbracketinfo function