Create a freeze animation extension method in the FreezeExtensions class that will pause an animation for a certain number of frames.