initials steps for trie implementations in java
basic steps for parse regex