Create tw.cpp