bouncing ball oop