submission1

First attempt at HW 2, week 3, rprog-007