Refactored some functions and variables. Implemented code for the exists
and existsAtLevel functions. Removed pre-built trie from the constructor
(because insert works now).  Reordered position of functions. Main
method updated to show that the public function "exists" works.