Add .gitignore
Added dump function