Added list concatenation function and list selection function.