recursive search for distance users implemented. passes the tests, bu needs more test cases