P07 - flatten nested list