playing with squares as obstacles