Changed GATES class name to Gate. Removed a few unnecessary lines.
Updated combinational to the new name.