Stav dette: Helping LLMs Improve Code Generation Using Feedback from Testing and Static Analysis