Assignment 2 from semester 3