Tic Tac Toe in C++, optimized by SO, and myself.