Fixed simulation code (concurrent, independent poisson processes) and added main method