Update ex5_14.cpp