lab 3, modify trie.h, should use toupper also at the first check