Changed line walk to use split() instead of _.lines.

Closes issue #3.