Solution to Assignment #1