Completed Problem #6