Added recursive solution to first world problem