Implemented Counting Sort 1 solution