Logic added for game winner.