Created thread03.cpp sample program.