Gun.java with stubs and GunTest.java