Added exploratory search2 function

It has run into seg fault. No luck there.
Huge amount of debugging effort remaining tomorrow.
To get the associative functionality working.