Added loops and variable type checks
gitignore