Counting Sort 3 (python)