The code is written in Matlab. 
rejec.m can generate samples using rejection sampling.
LMC.m generate samples using LMC with fixed step size.
Proximal.m generate samples using proximal sampler (truncation method).

plotfil.m generate the plots. 