Rewrote sphere using modulus operator