Added .gitignore
From mutable to immutable. More functional style