Solutions to Assignment 1