Create TestUtils.java

Utility methods used by JUnit tests for sorting algorithms.