Base solution
Recursion, just because