Implemented Line.contains()