Update nesting.cpp