Added clean_up line to example.cpp