Primarly focus on a recursive algorithm and using redalerts to assess good and bad paths.