Document test and alter to check for "last" in scalar context.
Improve documentation and doc building system.
Add a file for making illustrations.
Added "no_exact" option, documentation, examples.