Basic Galois field operations
Karger's graph minimum cut algorithm.