added Scanner::_line() and Scanner::read_line(), altered main.cpp to use it