Do flip array using yield
Added gitignore