Complete CIS-2450 homework 3