Completed exercise 3 of 13 -- learnyounode

Write a program that uses a single synchronous filesystem operation to
read a file and print the number of newlines it contains to the console
(stdout), similar
to running cat file | wc -l.