Many basic graph searching algorithem