added photo interrupter sketch test