Started implementing memory. Added first memory exception.
Setting states.
Created directive
Considering active control wires when deactivating gates.