Updated Sprite class.
Changed for testing the spriteclass.