Building up code to construct a sphere.