Added an if statement to the program
Probably the final version of this program; it's working almost perfectly on an arduino uno from the sparkfun inventor's kit now
Merge branch 'master' of https://github.com/sgoblin/gettingstartedarduino