Switched to marisa-trie.

marisa-trie is a much faster trie implementation than the custom trie
structure used previously. Solutions should be near-instantaneous now
where, before, loading the trie structure into memory took around 6
seconds on my 2.4GHz Intel Core 2 Duo Mac Mini.
Removed unnecessary import.