Text this: BASIC graph and network algorithms