Add __eq__ to Node