What two things did the king try do to get rid of the dragon in the beginning of the story and failed?