Code used to make my Arduino do what I want it to do