Added compareParty class

Added compareParty class for priority_queue