update segmentate() method

delete pixelsInfo() method
move segmentate() method to cpp file
improve sort method

add “<“ operator method
add swap method for edged
make method to segment graph from constructor

improve arguments
improve args in segmentGraph method
update gitignore
test segmentation