put comments to understand code and ran it for event-to-event simulation
added comments to clarify code
created directories of images