Simulation of cell division models and integration of Master equations