Completed Homework 1 (hw01)