Numerical investigation of the conductivity and electron localization of a one dimensional disordered system