added graph cut and unit-test

here as well