Pulse Sensor Not Working

All the serial printing and the delay will cause your program to miss many heart beats. Remove all of them and see if your program detects a heart beat.