Fixing broken tutorial; was depending on time.h