Simple example of using bandit