add build_morp
add a simple Trie implementation and a stub of DoubleArray