Symmetry techniques for the numerical solution of the 2D Euler equations at impermeable boundaries