Added method to check win situation (checkWinSituation())