Corrected bug on Ball.java