Updated .gitignore
Fixed errors in data.py