Added find smallest and largest in an array in < 2N comparisons