Update segmentation.cpp

removed trailing whitespaces