lab2: Add echo option
Add an echo option that will cause the program to print out each input it receives to stdout. This is useful when reading input from file in order to make the input visible in the produced output.
Signed-off-by: Simon Sundberg simon.sundberg@kau.se