Homework #1 parts 1-4 completed