Software laboratory 3 homework