submitJobs function

Submit Jobs to the Batch Systems