CST407 homework 1 part 4