Counting Sort - C/Assembly