Add example. Almost working.

Add lots of debug output to path matching routine.