This is Homework #1 of class "DIP"