added graph cut and unit-test

Same