%% Point A (Beverly, Mass.)
printf( "POINT A (Beverly, Mass.)\tAlat=42.5618997;\tAlng=-70.8683521;\n");
Alat=42.5618997; Alng=-70.8683521;

%% Point B (Sydney, Australia)
printf( "POINT B (Sydney, Australia)\tBlat=-33.8833;\tBlng=151.2167;\n");
Blat=-33.8833; Blng=151.2167;

printf( "\n====================================\n");
printf( "nav( %f, %f, %f, %f, 30, 0 )\nNo output, 30 iterations.\n", Alat, Alng, Blat, Blng);
nav( Alat, Alng, Blat, Blng, 30, 0 );
printf( "====================================\n");
printf( "nav( %f, %f, %f, %f, 30, 1 )\nNav commands, 30 iterations.\n", Alat, Alng, Blat, Blng);
nav( Alat, Alng, Blat, Blng, 30, 1 );
printf( "====================================\n");
printf( "nav( %f, %f, %f, %f )\nNav (default) commands,  10 (default) iterations.\n", Alat, Alng, Blat, Blng);
nav( Alat, Alng, Blat, Blng );
printf( "====================================\n");
printf( "nav( %f, %f, %f, %f )\nGoogle Javascript Commands,  20 iterations.\n", Alat, Alng, Blat, Blng);
nav( Alat, Alng, Blat, Blng, 20, 3);
printf( "====================================\n");
printf( "nav( %f, %f, %f, %f, 30, 2 )\nLOGO commands (1/10th scale), 30 iterations.\nclearscreen\nht\n", Alat, Alng, Blat, Blng);
nav( Alat, Alng, Blat, Blng, 30, 2 );
printf( "st\n====================================\n[okay]\n");
