New challenge

Line segment problem