Assignment 3 - Problem 3 completed