k-armed-bandit-exercise