Fixed directed b hyperedge inheritance, flow algorithm now works and passes