added path defns and related, bfs finds shortest defn
realized bfs defn is not good, started fixing