Mark walls by XY position - Unique sublists

I think you can get some inspiration in this topic :