AStar tries bravely to take walls into consideration. Succeeds sometimes