An inexpensive 40 MSPS digitizer system for scintillator readout