problem 1 task 2
added a few comments
made use of newlines within parens