first attempt of movement
moving along the grid with collisions