Finished basic functionality for robot and grid.