added an animated sprite class example