added graph cut and unit-test

remove the additional comments