Adds gitignore
Bugfix when evaluating nlines / read

Only the head node, on which the input file should be present, has
to evaluate the number of lines / read from the input file.