Solution to part 1 (Gregory Brown)

This is my solution to Part #1. Feedback welcome!