Text this: Simulation of Random Processes by Acceptance-rejection Method