Assignment 1 solutions