added Scanner::skipn()
added main.cpp which contains a little test