Create thread.cpp