changes made to simualtor and added some visualization scirpts