added test code for radix sort
corrected test code for radix sort by correct memory allocation
added statements for debugging