A computational model of stem cells’ decision-making mechanism to maintain tissue homeostasis and organization in the presence of stochasticity