Library code for arm control

Re-wrote arm control code as a library. The .ino file is the arduino
implementation, the arm.h & arm.cpp are the library files. Place the
library files in Documents->Arduino->Libraries, inside a folder called
"Arm", to use.