Assignment 4 from last semester