Created BFT and DFT graph algorithms