The CountingSort class will sort any integer array in order n time using counting sort.