More stylistic changes
Readability improve
Added `safeGetline`
Made the program use a virtual buffer to normalize line endings
No need to worry about different line endings anymore
Made sure we can write to output file