Added Ucb1 algorithm.