Update example three.cpp