updating file with some doc and pep8 changes
adding travis file to run tests
gitignore
added test cases