grid.py : Modified movement algorithm