HW4 (Radix Sort) solution