I am new to JavaFX and I am creating a simple program. What I\'m trying to achieve is to create a ball every 5 seconds that bounces off the walls and all balls should move e