Scala code for numerically exploring the multi-bandit problem