Fixed bugs

-Some code bugs related to bet_num variable
-Updated .gitignore