Homework 3/2 Part Writing in DM

Modified