A Systematic Survey on Large Language Models for Algorithm Design