Assignment 5 from last semester