A Simple Atomic Spectrometer for Use in the Undergraduate Laboratory