prefixTree: Add break statements. Complete first draft of .hasKey() method