Initial commit of assignment, with most of P2 worked out

For P2 currently rendering quarter-torus. Still need to render rest of
torus & do EC stuff.