Electrocardiograph with stethoscope and pacemaker