Improve getline() length count.Include \n in line.
Use the new getline() from 1-16.
Add solution for 1-18.