Assignment 2: Problem 1: Completed.