Fixed documentation and code style for compactTrie.py