Easier than most of the recursion exercises