Here's the errors I got also I might've left off another file which is a .dat

TicTacToe.dat

5
XXXOOXXOO
OXOOXOXOX
OXOXXOXOO
OXXOXOXOO
XOXOOOXXO