Update recursive.cpp