starting problem 7
first attempt at problem 7
changes to 7
reformatted problem1