completed prerequisite tree creation