A Program for the Pipeline Algorithm