On Iterative Evaluation and Enhancement of Code Quality Using GPT-4o