def concatpaths(list_of_paths):
return Path(*[seg for path in list_of_paths for seg in path])<EOL>
Takes in a sequence of paths and returns their concatenations into a
    single path (following the order of the input sequence).