optimize forloop to only go halfway to find if prime
Added gitignore