getlines.c was not successfully added. This is the correct version.