Homework 1 solutions CS104