Remove toString from subGates.
Add comprehensive toString to Gate parent class.