Symmetries and Constants of Motion of Dynamical Systems