Bentley Ottmann Line Sweep Algorithm Visualizer Extended To Polygon Self-Intersection Detector