added render method to sprite class