complete first portion of homework
homework exercise 2