2 tanks have to shoot each other (java)