void dfs(Graphnode _root,std::tr1::array<unsigned char, 16> goal,unsigned char _totalDepth,queue<Graphnode> _preload1, queue<Graphnode>_preload2,std::fstream &_checkfile)
{
//printf("preload1 %d,preload2 %d\n",(int)_preload1.size(),(int)_preload2.size());
/**
*This is the search algorithm done by slave nodes. It takes starting nodes from the queue generated by the master
*node doing breadth-first search. Each slave nodes get portion of starting nodes. The number of nodes each slave
*node get is depending on how many slave nodes. the queue generated by master node is devided equally to slave…