Homework Assignment 1, part 4