Implemented Thompson sampling

- implemented thompson sampling for binary reward
- implemented function generating beta distributed random variables
  (standard library seems to not exist)
- implemented test
- implemented simulations