answer_as_integer function

Make LLM answer as an integer (between min and max)