Integer Overflow Error

I fixed it. Changed timing values to use unsigned long instead of unsigned int.