added gitignore rules
added some examples of loops