LegoNE: Designing and Analyzing Approximate Nash Equilibrium Algorithms by Machines