works
Bentley-Ottmann implemented