Add a function to select a random node.  Use this for dummy generation instead of exits only.