Add tegen.pdf

First commit of the generated PDF containing both documentation and code
of the tegen engine.