A simple code to perform Weibull analysis on real or simulated data