complete MOVING() in WordAgent.cpp

If the number of word agents in all neighbor grids is the same to that
in current grid, then a grid is selected as the target grid, into which
the word agent move, from all neighbor grids randomly.