Added comments for the winnerCheck() function.