Updated andgate.ipynb