Finished HW#2

Completed Homework assignment #2.