Added generator:saveList(ARRAY) to save result to file.