Added "algorithm to measure the sortess of an array"