An interactive method-of-characteristics program for gas-dynamic calculations