Simple binary system developing the capacity for self-reference