Self implementation of Radix Sort