Added DrawSprite method to graphics class.