Counting Sort 1 solution