add rudimentary code for ranking items using bayes bandit