Added abstract class Gate, extending Component. The Gate class is for lo...

...gical gate classes to extend.