change Line handling in visitor simple example 2

the bounding box of the line did not include line going from right to left, also it mixed up totally x and y usages