Finished FindRandomNode method