updated Ball.java and Game.java