First draft implementation of minimumCut algorithm is up. I'm not sure that it is correct as of yet, but it seems to be doing the right thing. A ton of optimzation is left to be done though.