An introduction to the vector potential