Added readme and comments

Added readme, added comments in preprocessTrainingSet.cpp and
simulateNetwork.cpp