Text this: Lie transforms and motion of a charged particle in a periodic magnetic field