Update Ball.py

fixed to work with text simulation