books/tangle.c improve the debugging output (DEBUG==3)

Improve the debugging output (DEBUG==3) so that it is obvious
what chunk is being expanded. It also shows the expanded output
delimited by begin/end markers.