PulseSensor file with alarm functions

Alarm functions added.