added a method to check if a prefix exists
added a listDropRightOne method on store to list the parent keys of leaves