4 square logic

No friends :(