CV Homework #4 and DIP Homework #2