Added Function To Compute Winner.