Add IR interrupt code

Added code to test pin interrupts with the IR sensor.
Added a makefile which links in code from the Arduino standard
libraries.