added depth-first-search based on while loop to search code.  Put delta-based stack elements into globals.
whitespace