Added .gitignore, docstrings