Created thread14.cpp sample program.