Counting Sort 1 (python)