adding vertical borders detection
ordering code
fix wrong index[] = [].push; adding scooped data to lines function