Create TicTacToe check method
Call check method in TicTacToe's move method