Update animation.py

This addition to the Animation module adds the ability to set sequence animations to repeat.