added multilabel graph cut code.
doesn't work well.