Add test case for 100 characters in a line
Add a version to replace gets() with fgets()