A beam pulser at the TTT-3 tandem accelerator of the University of Naples