python script to create list of shuffled numbers and write them to file according to the number of elements and processors