Added Trie in Java.