Im trying to find a way to create a new list (list2) from a nested starting list (list1), if the elements in the starting lists meet certain conditions. The starting list is