Completed Task 2 of Assignment 2