Implement calculate winner functionality