Documented the breadthFirst method. Added score pruning to breadFirst. Added tests to verify that depthFirst and breadthFirst have the same result.