A confession need not be the spontaneous act of the accused and may be obtained by means of questions and answers.