Added feature to durcheck.sh and tested allsort.java with 100000 elements