Making maps of the cosmic microwave background: The MAXIMA example