AndGate, OrGate and NotGate classes, which inherits of Gate class, are now implemented.