writeList function

Write a List to a File in PBS Modelling Format