Assignment 2, solutions