Text this: A safe overtaking control scheme for autonomous vehicles using rapid-exploration random tree