an issue with scanNext logic, not solved
all pass. Modified fucking testfile.cpp