Confirmation Bias and Group Learning: an Agent Based Model