Adding function to flatten nested lists
Summary
This MR introduces the following changes
- adding
flatten_list
function to flatten any arbitrarily nested list, especially useful when using anchors for the sample cuts
Conformity
Edited by Manuel Guth