HSGS Method for the Finite Element Solution of Two-Dimensional Helmholtz Equations