K-armed 𝜺-greedy algorithm implementation References: Reinforcement Learning: An Introduction, Richard S. Sutton et al. Multi-armed bandit, https://en.wikipedia.org/w/index.php?title=Multi-armed_bandit&oldid=875192495