Started working on the betting loop