Implemented SimulatorLogger class
- overrode InstanceOfPeriodicTask's toString method to produce string which gets logged
- SimulatorLogger simply writes InstanceOfPeriodicTask.toString to a file
- removed redundant [ :) ] removeRedundantTimesFromLists from Main.java and moved it to SimulatorLogger; it should be called from one place - right before converting InstanceOfPeriodicTask to a string
- changed access modifiers of all Main.java methods to private (except for simulate) - TODO create a Simulation class
- minor changes to comments and javadocs
Removed typeOfSimulation from simulation in Main
- instead of typeOfSimulation, simulation method now takes appropriate comparator
- added javadocs for comparators in InstanceOfPeriodicTask.Comparators
Created a new class Simulation
- Simulation class contains all the data and the logic needed to perform and log a single simulation
- moved input reading to Simulation; delete Parser.java
- added some javadocs