Added integrity check to the test routines
Added integrity check to the test routines

An itegrity check is done on the sorting results using hash tables
to make sure that the data is correct and correctly sorted.

danesh-d/do-sort