Reversi game in Java