Foray into recursion! (It's really not that hard.)