Command Line Tic-Tac-Toe, written in PHP