DIY AI & ML: Solving The Multi-Armed Bandit Problem with Thompson Sampling