adding cell as nodes to grid