implemented basic working banditron algorithm