Numerical Solutions Of Maxwell'S Equations In 1D, 2D, And 3D Via The Finite Element Method