added comparison operators for storing in sets
IPR; graph checks compile