Update seamCarve.cpp