making changes to simulation
added new simulation module, new library py file
merged helperfun