Added code on referee end to handle ties. Must be implemented by tournament manager.