Text this: A compact neutron spectrometer for detecting neutrons produced by cosmic rays