Homework 3 for CV