Started on assignment 2 of CGC