An artificial heart simulator