added animations.py which uses the pyganim library to handle animations.

TO-DO: import gifs with PIL and auto export them to pyganim