A three-body force model for the baryon spectrum