Write a class DataSet that computes the largest and smallest values in a sequence of numbers. Supply methods
void addValue(int x)
Keep track of the smallest and largest values that you've seen so far. Then use the Math.min and Math.max methods to update them in the addValue method. What should you use as initial values? Hint: Integer.MIN_VALUE, Integer.MAX_VALUE.
Write a test program DataSetTester that calls addValue four times and prints the expected and actual results.