Correcting memory leak with rng
partial Checking grid input