Update main.cpp

make nested dependent functor by operator*