Creates main function in AnimatedGifEncoder that shows how to create an infinitely repeating gif