parallel.sh
used more standard form of loop