More lecture notes and code.

Add 'is_bipartite' to Paths.