Neocis Interview Question

Design a program that simulates a three-segment robotic arm in 2 dimensions.