private static void search(final int[] data, final int value,
            final int actualLocation) {
        long time = System.currentTimeMillis();
        if (actualLocation == -1 && 0 < Arrays.binarySearch(data, value)) {
            throw new RuntimeException("Incorrect value locatoin returned");
        }
        System.out.println("Value found from " + data.length + " values in "
                + (System.currentTimeMillis() - time) + "ms");
    }