added code to render scene with sphere