Assignment 1 from last semesters class