Added list2string() function