Reshaped endgame_solver executable, is almost close to be useful.