Problem 7 Solution

Didn't actually get this one, peeked at solution to finally 'get it'.