added an existsPrefix method
added a listDropRightOne method