Electron beam pattern generator. Electron tree creation on NPL's Research Linac