Working RandomPathGenerator