add melt_lol function: melts a list of lists into a single list