Assignment 2 for DSM