Added method to check for winner