C++ Input EOF
Nested Loops