Find if Path Exists in Graph — CaffeCode