Slightly refactors refactored fun1
Adds .gitignore