Text this: Reinforcement Learning-Based Safe Path Planning for a 3R Planar Robot