Lab3 - Prob 5-6 as submitted