Python test program - Learning PyQt - Bouncing balls