adds breadth first search to board graphs. also fixes a tiny nefarious bug in the logic evaluator