CSE168: Rendering Algorithms, Homework 1