Assignment 1: written