added sketch to visualize IR

Added a processing sketch to read the serial port from the arduino sketch. Also modified the arduino sketch with the appropriate changes.