Physics of a Swing Explained