CSC 142 Homework 6