Describir: Computer Simulation of Processes at Electron and Ion Beam Lithography, Part 1: Exposure Modeling at Electron and Ion Beam Lithography