Updated Sprite.cc

Added code to add the sprite to the canvas