Added a Potentiometer into the code to limit the arm movement.