added comments to the Sprite class