Started calculating bets and added reset button functionality