For the iterative compression algorithm, I think the book gives sufficient details to build an implementation from. There is a theoretically faster algorithm, which is linked below. You could read it for inspiration,​ but it's not necessary and I do not think it is feasible to implement it fully because it needs a subroutine with matroid computations.