Add initialization of line_number to zero

Resolves #41.

- Add initialization of line_number to zero in the parse_file function
  because if the parsed file is empty, line_number is not initialized by
  the for loop which leads to a crash.
- Tidy some whitespace.