ex1 - flattening list with any depth