fixed gitignore patterns for ignoring temporary files in levels
Merged Youssef's code