Computational complexity analysis: random, sorted, almost sorted,
inverted. Results written to file.