22 If a man does a crime for which the punishment is death, and he is put to death by hanging him on a tree;