Ambiguity Resolution with Human Feedback for Code Writing Tasks