https://medium.com/@monocosmo77/understanding-thompson-sampling-artificial-intelligence-statistics-21f4d679cbae