initalize catTotal with 0 for checkForWin function call to reset old values