Recursion applies over a list and applies into the sublists