Arms are a relatively simple subsystem to program, they require at least one motor with an encoder so that it can be held at a specific angle. They also require some tuning with ArmFeedforward class to supply constant voltage to counteract gravity.
These examples are helpful so that you get an idea of how to start with programming an arm, and simulating what proportions will work best on the robot.