solutions for Caltech's cs171 Intro to Graphics course