question: private static boolean withinOne ( INode n , INode goal ) { DoubleLinkedList < IMove > moves = n . validMoves ( ) ; for ( Iterator < IMove > it = moves . iterator ( ) ; it . hasNext ( ) ; ) { IMove move = it . next ( ) ; INode successor = n . copy ( ) ; move . execute ( successor ) ; if ( ge . eval ( successor ) == 0 ) { return true ; } } return false ; }
target:  See if within one move of solution. 