Fix readLines base case, and move to IO area
Make t2 more testable