Homework assignment 4.