Homework Assignment 4