Add NotGate and change TickTack main example