ferguson-forcade algorithm

Input interpretation

Ferguson-Forcade algorithm