Updated notConnectableNodes and createLine

The createLine function is a dummy function that should only work
(maybe) on the first move.