add .gitignore
tests pass on python 2 and 3