Counting sort 2.cpp