Assignment 3 for CG