added .gitignore
implemented python version 2/3 support for trivium example main function