That program looks so simple. Never wrote a program for an Arduino before but I guess its time now.
There are tons of examples, tutorials, libraries available for Arduino, and keep in mind once you're done with prototyping you can just buy the Atmega328P (5$) and if you add an ESP8266 (5$) to the mix you can make anything wireless.