Completed Problem 3!

This one was a tad harder for me to wrap my head around. Maybe I was just tired.