Solved EquiLeader in C