Kinematic Synthesis using Reinforcement Learning