added arduino sketch

needs more comments