Modeling the Algorithm of Cumulative Sums in the Applied Problems of Detecting the Signals with Random Time of Occurrence in non-Gaussian Noise