Simulating a Time-of-Flight Mass Spectrometer: A LabView Exercise