fixed updating grids during territory allocation
Merge branch 'master' of https://github.com/kjian279/RISC