find neighboor point when cannot move forward running recursively