create trie.h

This code taken from http://simplestcodings.blogspot.kr/2012/11/trie-implementation-in-c.html