Contextual Bandits With Linear Payoff Functions In C