Refactored M/M/1 simulation (probably still not working)