Kinematic Synthesis Using Reinforcement Learning