Uploaded write-up of resample-move algorithm