Consolidated arduino code using arrays and loops, cleaned up, need to test on physical device/ardu.