THE CALCULATION OF TWO- AND THREE-DIMENSIONAL INVISCID UNSTEADY FLOWS BY THE METHOD OF CHARACTERISTICS