Count Sort Geeksforgeeks Javascript Programming