A practical introduction to beam physics and particle accelerators. (2022)