Changed functions to public in class TicTacToe.java.