Fixed UCB to not do weird things. Also made a minor change to playout by making it check getWinner only once.