Equilibrium reconstruction from discrete magnetic measurements in a Tokamak: the Equinox code