how to convert a list into a tuple