add SquareObstacle class