This is a pretty simple implementation of the problem graph. Damping was added averaging over the last 2 values of all messages.
The solution converges to X=[0.25 0.75] with Y=[0.9 0.1]
Source code: cycles.m