Group theoretic method for a converging shock wave problem