Modelling and plotting population growth affected by resource scarcity, an attempt to apply the logistic model of population growth computationally