Added .gitignore; fixed line endings to comply wit PEP8; typo fixes