testing counting sort idea