Added counting sort algorithm