alpha version of code for Master Node Arduino in CS4107 final project