cst407 Homework 1 and 2