How do I use the KY-039 sensor?

UKHeliBob on this very forum suggests:

Try the code on this page
http://www.ebay.co.uk/itm/NEW-KY-039-Finger-Measuring-Heartbeat-Sensor-Module-for-Arduino-/331127966386