Smallest And Largest Number In An Array Do The Groups