I am trying to build an array of possible paths through a list of tasks with dependencies.
To create a path, each task has an unknown number of dependent tasks which are