My solution for the get_next_line assignment.
No issues yet.