Hear Beat Monitor

Hi, I am new in coding and my knowledge about it is next to nothing and I am here to ask some help because our teacher asked us to do a heart beat monitor as our project and I'm having a hard time figuring out the code. Also, I researched about the things that I need and I saw a sensor named (KY-039 Finger Measuring Heartbeat Sensor Module Detector for Arduino) and also Pulse, heart rate sensor for arduino. Do I need both sensors to build my heart beat monitor or i would only need one. We also need an LED TO show the results

Most of the HEARTBEAT example programs wont directly work on the 101 board without modifications as they are for the most part set to work on the AVR boards (different MCU)

The KY sensor is not that good to be honest and you are better off spending a little more on one of the better ones.

Thank you for the reply.