Add sample6 file.
Improve documentation.
Update license.