Replace IO#lines with IO#each_line and IO#lineno. Fixes #7
Merge pull request #8 from josephholsten/7-use-io-each-line

Replace IO#lines with IO#each_line and IO#lineno. Fixes #7