Added animation to pendulum_swing_up.py.