Update tictactoe.java

Added preparePlayers