* add ctime include (needed for time())
* remove initializations in structs.
remove c++11 need. The code now compiles and runs with -std=c++98