write cordinates in this format x,y do not write in any other format
100% by me v 1.2 calculates the slope too