Update trie.py

Bugfix in delete