added constructor and methods to compute the probability distribution and distribution of jobs in the system