A survey on driverless vehicles: from their diffusion to security features