Forgot to redeleate include <time.h>

Final update to my code, my last mistakes are now fixed.