function name checkForWinner() changed to findWinner()