created list of active nodes. which removes deadend nodes still exceeds
recursion limit