update StonesGame.java