first max flow problem solved

Signed-off-by: Darren Ha <darren.ha@samsung.com>