Radix Tree implementation in Java