A tune resonance program used in non linear beam dynamics