Self-organization in a system of binary strings with spatial interactions