Implemented reverse search.
working reverse search.
prompt.