Finish ttwo.cpp