assignment1 solutions