Function CreateSpriteAnimation(sprite, anim_length, speed)
Returns a new sprite animation id
anim_length - number of frames in the animation
speed - frames per second for the animation