A Tutorial on Thompson Sampling | Synapse