removed main-method from doggame.java