Fix gate.java
Merge branch 'master' of github.com:St-Arai/Experiment1-1