Fixed digitalRead and implemented wiringPiISR

I changed digitalRead so that it now returns an int and I have also managed to implement wiringPiISR by making use of delegates.