Implemented Sprite class