Completion of Assignment 2