Normal forms for functions near degenerate critical points, the Weyl groups of Ak, Dk, Ek and Lagrangian singularities