This is a diagram of the puzzle I\'m solving for: Where A,B,C,D are four numbers that are either 0 or 1, and alphas are some random constants (could be positive or negative