Added __eq__ methods to subclasses of Gate, so that crushed bugs