Assignment 2 from DFI 2.