Code for Nottinghack BarBot project