added binarySeach and depthFirstSearch