hopcroft karp class version