Create animation.py

Animation works except it will close the window as soon as the last call to display is made.