homework 1 cs340