functioning heartbeat and example python heartbeat monitor.