Attorney general assigns teams to monitor primary elections