Homework 2 as submitted