search.paths function

Searches for paths. Ties together highest.mi and return.mis functions.