Lab 3 - Prob 3,4 as submitted