lab 2 newline chars at EOF and lab3 init