A mathematical model for the control and eradication of a wood boring beetle infestation