implemented a recursive height function.
implemented RadixSort