Design and code for a small robotic arm