Homework 4 for 6k:183