traverses the configuration and processes each record
perfectshuffle(configuration,pn)