missing doc
add gitignore
ignore .html
add tests, fix dot printing function
ignore tests generated files