Added counting and radix sort