Add counting sort algorithm