version working without calling twice line()
The change, initially put in patternfn.py/line, has been brought back to the Line pattern generator. Tests done. Comments added