A Survey on Large Language Models from Concept to Implementation