how the heart can be compared to a mechanical pump?