add ch12
add ex12_30.cpp function.cpp