ford fulk algorithm implemented and tested. working correctly, but, still need some polishing. valid flow function incorrect.